package com.rymcu.subject;

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

public class IdeaRunJsp {

    @Test

    public void test1() {
        System.out.println("1. clean");
        System.out.println("2. package 或 install");
        System.out.println("3. 配置tomcat 启动war包，应用路径");
        System.out.println("4. 需改资源需要编译资源");
        System.out.println("5. 修改配置需要从新部署");
        System.out.println("6. 重新启动不会丢文档");
        System.out.println("7. 需改静态资源后，不生效，a.查看tomcate运行配置，b.查看是否被覆盖");
    }

    @Test
    @DisplayName("BeforeEach")
    @BeforeEach
    public void beforeEach() {
        System.err.println("before each");
    }

    @Test
    @DisplayName("AfterEach")
    @AfterEach
    public void afterEach() {
        System.err.println("after each");
    }
}

